Skip to main content

Pin Nodes

Write Node

The write node sets a digital value at the user-specified pin.

node example

Properties

  • Name (string) - node name.
  • Pin no. (number) - pin number of the application device.
  • Pin level (number) - pin level of the application device.

Example

node example

Here, on start/reset of the application device, the write node sets pin number 2 voltage level high.


Read Node

The read node reads a digital value from the user-specified pin.

node example

Properties

  • Name (string) - node name.
  • Pin no. (number) - pin number of the application device.
  • Mode (selector) - pin property.

Output

  • pin level (number) - 1 or 0 (boolean).

Example

node example

Here, on start/reset of the application device, the read node reads the value at the digital pin and it's printed on the serial monitor.


On Signal Node

The on signal node is an event node, which sends out an event to the next nodes when it receives a rising/falling voltage edge signal on the specified pin.

node example

Properties

  • Name (string) - node name.
  • Pin no. (number) - pin number of the application device.
  • Edge type (selector) - edge type.
  • Enable Pullup (checkbox) - enables pullup resistor.
  • Enable Pulldown (checkbox) - enables pulldown resistor.

Output

  • pin level (number) - 1 or 0 (boolean).

Example

node example

Here, on receiving a signal from the specified pin, it executes the display node, which prints the voltage level.


On Button Click Node

The on button click node is an event node, which sends out an event to the next nodes when the button on the specified pin is clicked. This node also handles the debounce of the pin.

node example

Properties

  • Name (string) - node name.
  • Pin no. (number) - pin number of the application device.
  • Button pin is (checkbox) - pin property.

Example

node example

Here, on button click at the specified pin, it executes the display node, which prints "Hello World" on the serial monitor.


Analog Write Node

The analog write enables a square wave on the specified pin with a frequency and duty cycle (%).

node example

Properties

  • Name (string) - node name.
  • Output (config node) - pin configuration.
  • Intensity (%) (number) - intensity of square wave in percentage.
  • Frequency (Hz) (number) - frequency of square wave in Hz.

Example

node example

Here, on start/reset of the application device, the analog write enables a square wave at pin 2 with a frequency of 1000Hz and intensity of 10%.


Analog Read Node

The analog read reads analog voltage and converts it into a digital value within a specified range.

node example

Properties

  • Name (string) - node name.
  • Input Type (config node) - ADC configuration.

Properties

  • digital value (number) - digital value.

Example

node example

Here, on start/reset of the application device, the analog read node reads voltage change from the specified pin 27, and here we have used the display node, which prints the digital value within the specified range on the serial monitor.


Touchpad Read Node

The touchpad read node reads the values of capacitance from the specified touchpad pin.

node example

Properties

  • Name (string) - node name.
  • Touch Config (config node) - pin properties.
  • Touchpad pin (selector) - touchpad pin of the application device.

Output

  • Raw Value (number) - The actual value of capacitance.
  • Filtered Value (number) - The filtered value of capacitance, more accurate.

Example

node example

Here, on start/reset of the application device, the touchpad read node reads voltage change from the specified pin GPIO4, and here we have used the display node, which prints the received value from the touchpad read node on the serial monitor.


DAC Node

The DAC node writes analog voltage on a pin within the range.

node example

Properties

  • Name (string) - node name.
  • Config (config node) - DAC configuration.
  • Output Type (selector) - waveform properties.

Example

node example

Here, on start/reset of the application device, the DAC node writes an analog voltage of 255 at pin GPIO25.